<?php
if(!defined('IN_XLR')) {
	exit('Access Denied');
}

//上传照片
function api_system_citylist($apiReq){
	global $_SGLOBAL, $_CONFIG;

    $sql = "select * from website_area where area_level='2' order by convert(area_name USING gbk) COLLATE gbk_chinese_ci asc ";
    $city_list = get_db()->get_results($sql);

	//输出
	$apiOut["returncode"] = "0";
	$apiOut["city_list"] = $city_list;
  
	return $apiOut;
}
